package com.ay.redisqps.dao;

import com.ay.redisqps.pojo.Ticket;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/* *
 * Created by Ay on 2018/11/13
 */
@Repository
public interface TicketRepository extends JpaRepository<Ticket,Integer> {
    Ticket findByName(String name);
}
